//
//  RequstTableViewCell.m
//  79环信
//
//  Created by 刘恒槟 on 15/7/31.
//  Copyright (c) 2015年 刘恒槟. All rights reserved.
//

#import "RequstTableViewCell.h"

@interface RequstTableViewCell ()

@property (strong, nonatomic) IBOutlet UILabel *name;

@property (strong, nonatomic) IBOutlet UILabel *message;

@end

@implementation RequstTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setCellInfoWithDictionary:(NSDictionary *)dic{
    
    self.dic = dic;
    
    self.name.text = dic[@"username"];
    self.message.text = dic[@"message"];
    
}

- (IBAction)tapbutton:(UIButton *)sender {
    
    if (self.cellBlockHandle) {
        
        self.cellBlockHandle(sender.tag);
        
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
